<div class="member-info-container" ng-if="member">
  <ng-form class="form-horizontal">
    <div class="form-group">
      <h3 class="text-center">会员信息</h3>
    </div>
    <div class="form-group">
      <div class="col-sm-6">
        <div class="form-group">
          <label class="control-label col-sm-4 col-sm-offset-2">手机号</label>
          <div class="col-sm-6">
            <div class="form-control info-text">{{member.phone}}</div>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-4 col-sm-offset-2">姓名</label>
          <div class="col-sm-6">
            <div class="form-control info-text">{{member.name}}</div>
          </div>
        </div>
        <div class="form-group">
          <label class="control-label col-sm-4 col-sm-offset-2">性别</label>
          <div class="col-sm-6">
            <div class="form-control info-text">{{member.sex|constantTransfer:sexList}}</div>
          </div>
        </div>
      </div>
      <div class="col-sm-6 id-card-container">
        <label class="control-label col-sm-4">头像</label>
        <div class="col-sm-6 id-card-container">
          <img ng-src="{{member.portrait?member.portrait:'images/id_card_back.jpg'}}">
        </div>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-2 col-sm-offset-1">昵称</label>
      <div class="col-sm-3">
        <div class="form-control info-text">{{member.nickname}}</div>
      </div>
      <label class="control-label col-sm-2">注册时间</label>
      <div class="col-sm-3">
        <div class="form-control info-text">{{member.createTime|dateTransfer:'YYYY-MM-DD HH:mm'}}</div>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-2 col-sm-offset-1">余额</label>
      <div class="col-sm-3">
        <div class="form-control info-text">{{member.balance}}</div>
      </div>
      <label class="control-label col-sm-2">积分</label>
      <div class="col-sm-3">
        <div class="form-control info-text">{{member.score}}</div>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-2 col-sm-offset-1">身份证号</label>
      <div class="col-sm-3">
        <div class="form-control info-text">{{member.idcard}}</div>
      </div>
    </div>
    <div class="form-group">
      <label class="control-label col-sm-2 col-sm-offset-1">身份证正面</label>
      <div class="col-sm-3 id-card-container">
        <img ng-src="{{member.idcardFront?member.idcardFront:'images/id_card_front.jpg'}}">
      </div>
      <label class="control-label col-sm-2">身份证反面</label>
      <div class="col-sm-3 id-card-container">
        <img ng-src="{{member.idcardBack?member.idcardBack:'images/id_card_back.jpg'}}">
      </div>
    </div>


    <!--<div class="form-group">-->
      <!--<div class="col-sm-4"></div>-->
      <!--<div class="col-sm-4 text-center">-->
        <!--<button class="btn btn-warning" ng-click="printmember()">合同打印</button>-->
      <!--</div>-->
    <!--</div>-->
  </ng-form>
</div>